.ui-keyboard-button {
	min-width: 0 !important;
	height: 13vh !important;
	min-width: 8vw !important;
	margin: 1px !important;
	padding: 0 !important;
	background-color: @main-color;
	border: 0 none;
	color: @light-color;
	font-size: 3vw;
	line-height: 3vw !important;
}
.ui-keyboard-space {
	width: 40vw !important;
}
.ui-keyboard {
	background: @dark-light-color;
	top: auto !important;
	bottom: 0;
	width: 100%;
	.box-sizing(border-box);
}
.ui-keyboard-accept span,
.ui-keyboard-cancel span {
	padding: 0 10px !important;
}
.ui-keyboard {
	padding: 0.3em;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 16000;
}
.ui-keyboard-has-focus {
	z-index: 16001;
}
.ui-keyboard div {
	font-size: 1.1em;
}
.ui-keyboard-button {
	height: 2em;
	min-width: 2em;
	margin: 0.1em;
	cursor: pointer;
	overflow: hidden;
	line-height: 2em;
	-moz-user-focus: ignore;
}
.ui-keyboard-button span {
	padding: 0;
	margin: 0;
	white-space: nowrap;
	display: inline-block;
}
.ui-keyboard-button-endrow {
	clear: left;
}
.ui-keyboard-space {
	width: 15em;
}
.ui-keyboard-empty span,
.ui-keyboard-space span {
	font: 0/0 a;
	.text-shadow(none);
	color: transparent;
}
.ui-keyboard-preview-wrapper {
	text-align: center;
	position: relative;
	overflow: hidden;
	padding: 4px;
	.box-sizing(border-box);
}
.ui-keyboard-preview {
	text-align: left;
	display: block !important;
	width: 100%;
	padding: 0 15px;
	height: 40px;
	.box-sizing(border-box);
}
.ui-keyboard-keyset {
	text-align: center;
	white-space: nowrap;
}
.ui-keyboard-input {
	text-align: left;
}
.ui-keyboard-placeholder {
	color: @light-darker-dark-color;
}
.ui-keyboard-nokeyboard {
	color: @light-darker-dark-color;
	border-color: @light-darker-dark-color;
}
.ui-keyboard-spacer {
	display: inline-block;
	width: 1px;
	height: 0;
	cursor: default;
}
.ui-keyboard-LRM span,
.ui-keyboard-NBSP span,
.ui-keyboard-RLM span,
.ui-keyboard-ZWJ span,
.ui-keyboard-ZWNJ span,
.ui-keyboard-ZWSP span {
	font-size: 0.5em;
	line-height: 1.5em;
	white-space: normal;
}
.ui-keyboard-button.ui-keyboard-combo.ui-state-default {
	border-color: @light-dark-color;
}
button.ui-keyboard-accept.ui-keyboard-valid-input {
	border-color: #0c0;
	background: #080;
	color: #fff;
}
button.ui-keyboard-accept.ui-keyboard-valid-input:hover {
	background: #0a0;
}
button.ui-keyboard-accept.ui-keyboard-invalid-input {
	border-color: #c00;
	background: #800;
	color: #fff;
	.opacity(0.5);
}
button.ui-keyboard-accept.ui-keyboard-invalid-input:hover {
	background: #a00;
}
.ui-keyboard-caret {
	background: #c00;
	width: 1px;
	margin-top: 3px;
}
div.ui-body.ui-keyboard button.ui-keyboard-button.ui-btn {
	padding: 0.5em 1em;
	border-color: transparent;
}
.ui-body .ui-keyboard-button {
	width: 3em;
	height: 3em;
	display: inline-block;
}
.ui-body .ui-keyboard-widekey {
	width: 5.5em;
}
.ui-body .ui-keyboard-space {
	width: 15em;
}
.ui-body .ui-keyboard-space span {
	visibility: hidden;
}
.ui-body .ui-keyboard-keyset {
	line-height: 0.5em;
}
.ui-body input.ui-input-text,
.ui-body textarea.ui-input-text {
	width: 95%;
}
.ui-body .ui-btn-inner {
	height: 2em;
	padding: 0.2em 0;
	margin: 0;
}
.ui-body .ui-btn {
	margin: 0;
	font-size: 13px;
}
button.ui-keyboard-button.btn {
	padding: 1px 6px;
}
button.ui-keyboard-toggle span {
	width: 0.8em;
	height: 0.8em;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	background-image: url();
}
.ui-keyboard-dark-theme button.ui-keyboard-toggle span {
	background-image: url();
}
button.ui-keyboard-toggle.ui-keyboard-disabled span {
	background-image: url();
}
.ui-keyboard-dark-theme button.ui-keyboard-toggle.ui-keyboard-disabled span {
	background-image: url();
}
.ui-keyboard.ui-keyboard-disabled button:not(.ui-keyboard-toggle),
.ui-keyboard.ui-keyboard-disabled input {
	opacity: 0.5;
}
.ui-keyboard-overlay {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,.5);
}
.ui-keyboard-popup {
	display: inline-block;
	max-width: 22em;
}
div.ui-keyboard-extender {
	float: right;
	margin-left: 5px;
}
button.ui-keyboard-extender span {
	width: 0.9em;
	height: 0.9em;
	display: inline-block;
	margin-bottom: 3px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	background-image: url();
}
.ui-keyboard-dark-theme button.ui-keyboard-extender span {
	background-image: url();
}
@media all and (max-width:319px) {
	.ui-keyboard div {
		font-size: 9px;
	}
	.ui-keyboard .ui-keyboard-input {
		font-size: 12px;
	}
	.ui-body .ui-btn {
		margin: 0;
		font-size: 9px;
	}
	.ui-body .ui-keyboard-button {
		width: 1.8em;
		height: 2.5em;
	}
	.ui-body .ui-keyboard-widekey {
		width: 4em;
	}
	.ui-body .ui-keyboard-space {
		width: 8em;
	}
	.ui-body .ui-btn-inner {
		height: 2.5em;
		padding: 0.3em 0;
	}
}
@media all and (min-width:320px) and (max-width:479px) {
	.ui-keyboard div {
		font-size: 9px;
	}
	.ui-keyboard .ui-keyboard-input {
		font-size: 14px;
	}
	.ui-body .ui-btn {
		margin: 0;
		font-size: 11px;
	}
	.ui-body .ui-keyboard-button {
		width: 1.8em;
		height: 3em;
	}
	.ui-body .ui-keyboard-widekey {
		width: 4.5em;
	}
	.ui-body .ui-keyboard-space {
		width: 10em;
	}
	.ui-body .ui-btn-inner {
		height: 3em;
		padding: 0.7em 0;
	}
}
@media all and (min-width:480px) and (max-width:767px) {
	.ui-keyboard div {
		font-size: 13px;
	}
	.ui-keyboard .ui-keyboard-input {
		font-size: 14px;
	}
	.ui-body .ui-btn {
		margin: 0;
		font-size: 10px;
	}
	.ui-body .ui-keyboard-button {
		height: 2.5em;
	}
	.ui-body .ui-btn-inner {
		height: 2.5em;
		padding: 0.5em 0;
	}
}
